import numpy as np
def sigmoid1(z,zoom=[10,3],size=1,mean=1):
    z0=z/(zoom[0]/zoom[1])-zoom[1]
    s=size*2*(0.5-1 / (1 + np.exp(-z0)))+mean
    return s
def line1(z,mean=[],size=1):
    z0 = (z - 1) / (mean[0] / mean[1]) - mean[1]
    s = size * 2 * (0.5 - 1 / (1 + np.exp(-z0)))
    return s